﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ReViewBox.ascx.cs" Inherits="CMS_Control_ReViewBox" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<style>
    .btn
    {
        border-right: #7b9ebd 1px solid;
        padding-right: 2px;
        border-top: #7b9ebd 1px solid;
        padding-left: 2px;
        font-size: 12px;
        filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#cecfde);
        border-left: #7b9ebd 1px solid;
        cursor: hand;
        color: black;
        padding-top: 2px;
        border-bottom: #7b9ebd 1px solid;
    }
    .hylink
    {
        font-size: 13px;
        text-decoration: none;
        color: Black;
        cursor: hand;
    }
    .hylink:hover
    {
        color: Blue;
    }
   
</style>
<div style="width: 100%; margin-top: 30px;">
    <div style="border: solid 2px #b7ddf2; background: #ebf4fb; padding: 10px; font-size: 13px"
        runat="server" id="SmallChat">
        <div style="color: Red; height: 30px;">
            最新评论</div>
        <asp:Repeater ID="RptChatList" runat="server" OnItemDataBound="RptChatList_ItemDataBound"
            OnItemCommand="RptChatList_ItemCommand">
            <HeaderTemplate>
            </HeaderTemplate>
            <ItemTemplate>
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tbody>
                        <tr>
                            <td style="border-right: #bebebe 0px solid; padding-left: 12px" valign="center" align="left"
                                width="71" bgcolor="#cee6ff" height="21">
                                评论人
                            </td>
                            <td style="padding-left: 8px" valign="center" align="left" width="665" bgcolor="#cee6ff">
                            </td>
                        </tr>
                        <tr>
                            <td style="border-right: #bebebe 1px solid; padding-left: 12px; border-bottom: #dedede 1px solid"
                                valign="center" align="left">
                                <%# Eval("Empname") %>
                            </td>
                            <td style="border-bottom: #dedede 1px solid" valign="top" align="left">
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tbody>
                                        <tr>
                                            <td style="border-bottom: #dedede 1px solid" valign="center" align="middle" width="26"
                                                height="24">
                                                <img height="10" src="images/fh.gif" width="8">
                                            </td>
                                            <td style="border-bottom: #dedede 1px solid" valign="center" align="left" width="452">
                                                评论于：
                                                <%# Eval("EditTime")%>
                                            </td>
                                            <td style="border-bottom: #dedede 1px solid" valign="center" align="right" width="150">
                                                <asp:LinkButton ID="Del" runat="server" ForeColor="Red" OnClientClick="return confirm('确认删除？')">删除</asp:LinkButton>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                &nbsp;
                                            </td>
                                            <td class="da_hang" style="padding-right: 18px; padding-bottom: 10px; padding-top: 3px"
                                                valign="center" align="left">
                                                <%# Eval("Content") %>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div style="height: 25px; font-size: 13px; margin-top: 30px;">
        <span runat="server" id="user" style="color: #666; float: left;"></span><span style="float: right;">
            <asp:HyperLink ID="hy" runat="server" CssClass="hylink"> <img src="images/chat.gif" border="0"/> 查看更多评论</asp:HyperLink>
        </span>
    </div>
    <div style="margin-bottom: 5px">
        
                    <FCKeditorV2:FCKeditor ID="Fck" runat="server" Height="200px">
                    </FCKeditorV2:FCKeditor>
              
    </div>
    <asp:Button ID="Button1" runat="server" Text="发表评论" OnClick="Button1_Click" CssClass="btn"
        OnClientClick="return confirm('确认提交？')" />
</div>
